package com.yuke.cloud.service.wmc.dto;

import com.yuke.cloud.service.wmc.entity.WmsStorageRecord;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Table;
import java.util.Date;
import java.util.List;

@ApiModel(value="com.yuke.cloud.service.wmc.entity.WmsStorageRecord")
@Table(name = "wms_storage_record")
@Data
public class WmsStorageRecordDto {

    /**
     * 库存记录表的主键
     */
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty(value="repoId库存记录表的主键")
    private Long repoId;

    /**
     * 商品id
     */
    @ApiModelProperty(value="specId商品id")
    private Long specId;


    /**
     * 商品name
     */
    @ApiModelProperty(value="specId商品name")
    private String specName;


    /**
     * 商品数量
     */
    @ApiModelProperty(value="number商品数量")
    private Integer number;

    /**
     * 创建时间
     */
    @ApiModelProperty(value="createTime创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value="updateTime修改时间")
    private Date updateTime;

    /**
     * 修改人id
     */
    @ApiModelProperty(value="updateId修改人id")
    private Long updateId;

    /**
     * 备注信息
     */
    @ApiModelProperty(value="remark备注信息")
    private String remark;

    private Long warehouseId;

    private String warehouseName;

    private List<WmsStorageRecord> dtoList;

    @ApiModelProperty(value="categoryId主键，自增")
    private Long categoryId;

    @ApiModelProperty(value="parentId父类别ID")
    private Long parentId;

    @ApiModelProperty(value="categoryName类别名称")
    private String categoryName;

    @ApiModelProperty(value="parentId父类别名称")
    private String parentName;

    @ApiModelProperty(value="parentId父类别ID")
    private List<Long> CategoryIdList;

    /**
     * 结束时间
     */
    @ApiModelProperty(value="endTime结束时间")
    private Date endTime;

    /**
     * 创建时间
     */
    @ApiModelProperty(value="beginTime创建时间")
    private Date beginTime;

}
